// 学习自测 - 需要权限控制的菜单
const PropertyManagementJurisdictionRoutes = [
  {
    path: '/propertyManagement',
    name: 'propertyManagement',
    meta: {
      title: '物业管理'
    },
    component: () => import('@/views/PropertyManagement')
  },

  {
    path: '/propertyManagement/SafetyInspection',
    name: 'propertyManagement-SafetyInspection',
    meta: {
      title: '物管巡逻'
    },
    component: () => import('@/views/PropertyManagement/SafetyInspection')
  },
  {
    path: '/propertyManagement/SafetyInspection/StartedToPatrol',
    name: 'propertyManagement-SafetyInspection-StartedToPatrol',
    meta: {
      title: '安全巡检'
    },
    component: () => import('@/views/PropertyManagement/SafetyInspection/StartedToPatrol')
  },
  {
    path: '/propertyManagement/SafetyInspection/StartedToPatrol/report',
    name: 'propertyManagement-SafetyInspection-StartedToPatrol-report',
    meta: {
      title: '巡检记录结果'
    },
    component: () => import('@/views/PropertyManagement/SafetyInspection/StartedToPatrol/report')
  },
  {
    path: '/propertyManagement/Record',
    name: 'propertyManagement-Record',
    meta: {
      title: '巡检记录'
    },
    component: () => import('@/views/PropertyManagement/Record')
  },
  {
    path: '/propertyManagement/Record/report',
    name: 'propertyManagement-Record',
    meta: {
      title: '巡检记录详情'
    },
    component: () => import('@/views/PropertyManagement/Record/report')
  },
  {
    path: '/propertyManagement/AttendanceClock',
    name: 'propertyManagement-AttendanceClock',
    meta: {
      title: '诉求服务'
    },
    component: () => import('@/views/PropertyManagement/AttendanceClock')
  },
  {
    path: '/propertyManagement/AttendanceClock/Add',
    name: 'propertyManagement-AttendanceClock-Add',
    meta: {
      title: '诉求新增'
    },
    component: () => import('@/views/PropertyManagement/AttendanceClock/Add')
  },
  {
    path: '/propertyManagement/AttendanceClock/Detail',
    name: 'propertyManagement-AttendanceClock-Detail',
    meta: {
      title: '诉求详情'
    },
    component: () => import('@/views/PropertyManagement/AttendanceClock/Detail')
  }
]

// 学习自测 - 菜单
const PropertyManagementRoutes = [...PropertyManagementJurisdictionRoutes]

export { PropertyManagementJurisdictionRoutes, PropertyManagementRoutes }
